import { createSSRApp } from 'vue'
import pinia from './stores'
import App from './App.vue'
import { createPinia } from 'pinia'
import share from '@/common/share.js'
export function createApp() {
  const app = createSSRApp(App)
    const pinia = createPinia()
    app.mixin(share)
    
    app.use(pinia)
  return {
    app,
  }
}
